Edit Task: SetResourceDetails DurationOverride
Description
The DurationOverride attribute under EditTask defines the duration override for the specified resource for all the task's possibilities.
Parameters
Parameter | Description |
---|---|
ResourceName | A string of text of the resource that is being defined within the command. |
Type | The parameter options are either 'None', 'FixedDur', or 'EfficiencyFactor'.
|
Value | A non negative double representing the value for the override field. Either the duration in seconds when using Type = FixedDur or the denominator when using Type = EfficiencyFactor |
Examples
Set all duration override settings for all possibilities containing ResA in TaskA.
PATCH api/task/TaskA
Body:
{
"SetResourceDetails" : {
"ResourceName" : "ResA",
"DurationOverride" : {
"Type" : "EfficiencyFactor",
"Value" : "0.2" }
}
}